#!/bin/bash

# Program:
#     Repeat question until user input correct answer.
# History:
#     2015/08/25    wxb    First release

while [ "$yn" != "yes" -a "$yn" != "YES" ]
do
    read -p "Please input yes/YES to stop this program: " yn
done
echo "OK! you input the correct answer."
